/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package certificate.controller;

import certificate.database.ConnectionDB;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.util.List;

/**
 *
 * @author minhtuan
 */
public class SubjectController implements BaseController<SubjectController> {

    @Override
    public boolean addNew(SubjectController temp) throws Exception {
        Connection conn = ConnectionDB.getConnection();
        PreparedStatement pstm = conn.prepareStatement("INSERT INTO Subject VALUES (?, ?, ?, ?)");
//        pstm.setString(0, );
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean deleteById(String id) throws Exception {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean update(SubjectController temp) throws Exception {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<SubjectController> getAll() throws Exception {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean getStatusById(String id) throws Exception {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
